package com.ihr360.payroll.model.vo;

import com.ihr360.commons.model.type.FieldSource;
import com.ihr360.commons.model.type.NumOperation;
import com.ihr360.payroll.model.dto.salary.basecode.SalaryFieldType;
import com.ihr360.payroll.model.dto.salary.basecode.SalaryTaxType;
import com.ihr360.payroll.model.dto.salary.embeddable.SalaryFieldValue;
import com.ihr360.payroll.model.dto.salary.meta.system.SystemSalaryField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author tomtao
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SalaryFieldVo implements Serializable {
    private static final long serialVersionUID = 5847017217311791947L;

    private Long id;

    private String code;

    private PayrollConfigVo config;

    private SystemSalaryField meta;

    private FieldSource source;

    private SalaryFieldValue valueMeta;

    private String name;

    private SalaryFieldType type;

    private SalaryTaxType taxType;

    private boolean taxMergeField;

    private NumOperation personalSalaryNumOp;

    private NumOperation companyCostNumOp;

}
